import request from '@/utils/request'
// 获取验证码图片
export const getVerification = key => request.get('/manager/captcha', {
  params: { key },
  responseType: 'blob'
})
// 获取用户登录信息
export const login = data => request.post('/manager/login', data)
// 获取首页用户侧边栏信息
export const getProfile = data => request.get('/manager/menus')
// export const getProfile = data => request.get('/manager/menus')

// 工作台  查询数据
export const getWorkspace = () => request.get('/manager/workspace')
